package org.extframework.ld.service.pojo;

import org.extframework.ld.service.BaseManager;
import org.extframework.ld.service.CommDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate3.HibernateTemplate;

/**
 * @author : Dong.Li
 * @created : 2013-1-17
 * @version : 1.0
 * @description :数据库操作类实现
 */
public class DefaultBaseManager implements BaseManager {

	protected CommDao commDao;

	public CommDao getCommDao() {
		return this.commDao;
	}

	@Autowired
	public void setCommDao(CommDao commDao) {
		this.commDao = commDao;
	}

	public HibernateTemplate getHibernateTemplate() {
		return this.commDao.getHibernateTemplate();
	}

}
